import request from 'utils/request';

export const login = ({ mobile, code }) => {
  return request({
    url: '/authorizations',
    method: 'post',
    data: { mobile: String(mobile), code: String(code) },
  });
};
export const GetuserInfo = () => {
  return request({
    url: '/user/profile',
  });
};
